package com.mall.module.system.domain.vo;

import io.swagger.annotations.ApiModel;
import lombok.Builder;
import lombok.Data;

import io.swagger.annotations.ApiModelProperty;


import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("注册返回数据VO")
@Data
@Builder
public class RegisterVo implements Serializable {

    @ApiModelProperty(value = "用户ID", example = "13")
    private Long id;

    @ApiModelProperty(value = "用户名", example = "wxx")
    private String username;

    @ApiModelProperty(value = "头像URL", example = "")
    private String icon;

    @ApiModelProperty(value = "邮箱", example = "")
    private String email;

    @ApiModelProperty(value = "手机号", example = "13800138000")
    private String mobile;

    @ApiModelProperty(value = "用户昵称", example = "")
    private String nickName;

    @ApiModelProperty(value = "创建时间", example = "2025-06-15T09:26:30.844+00:00")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后登录时间", notes = "null表示未登录", example = "null")
    private LocalDateTime loginTime;

    @ApiModelProperty(
        value = "账号状态",
        example = "1",
        notes = "0:禁用, 1:启用(默认)"
    )
    private Integer status;
}